﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace DEMI_webapp
{
    public class S_Kapelusz
    {
        public string nazwa { get; set; }
        public string kolor { get; set; }
        public string material { get; set; }
        public double cena { get; set; }
        public int ilosc { get; set; }

        public S_Kapelusz(string n, string k, string m, double c, int i)
        {
            nazwa = n;
            kolor = k;
            material = m;
            cena = c;
            ilosc = i;
        }

        public double PodajCene()
        {
            return cena;
        }

        public int PodajIlosc()
        {
            return ilosc;
        }

        public string PodajNazwe()
        {
            return nazwa;
        }

        public string PodajMaterial()
        {
            return material;
        }

        public string PodajKolor()
        {
            return kolor;
        }
    }
}